package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.SystemDictionaryItem;
import cn.wolfcode.crm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ISystemDictionaryItemService {

    PageInfo query(QueryObject qo);
    void save(SystemDictionaryItem systemDictionaryItem);
    void update(SystemDictionaryItem systemDictionaryItem);
    void delete(Long id);
    SystemDictionaryItem get(Long id);
    List<SystemDictionaryItem> list();

    List<SystemDictionaryItem> queryBySystemDictionaryJob(String job);

    List<SystemDictionaryItem> queryBySystemDictionarySource(String source);

    List<SystemDictionaryItem> queryBySystemDictionaryCommunicationMethod(String communicationMethod);

    List<SystemDictionaryItem> queryBySystemDictionarytraceResult(String traceResult);

    List<SystemDictionaryItem> queryBySystemDictionaryCourse(String course);
}
